/*
** my_strcmp.c for  in /home/vanet_c//piscine/Jour_06/ex_05
** 
** Made by charles-edouard vanet
** Login   <vanet_c@epitech.net>
** 
** Started on  Mon Oct  8 10:35:34 2012 charles-edouard vanet
** Last update Thu Dec  6 11:48:20 2012 charles-edouard vanet
*/

int	my_strcmp(char *s1, char *s2)
{
  int	i;
  int	j;

  i = 0;
  j = 0;
  while (s1[i] == s2[i] && s1[i] != '\0')
    i = i + 1;
  j = s1[i] - s2[i];
  return (j);
}
